source/daque/graphics/opengl.d(30,5): Error: `@safe` function `_staticCtor_L28_C1` cannot access `__gshared` data `DerelictGL3` source/daque/graphics/opengl.d(43,36): Error: cannot take address of local `source_code_z_terminated` in `@safe` function `Try_Compile_Shader` source/daque/graphics/opengl.d(47,51): Error: cannot take address of local `compilation_success` in `@safe` function `Try_Compile_Shader` source/daque/graphics/opengl.d(53,56): Error: cannot take address of local `log_size` in `@safe` function `Try_Compile_Shader` source/daque/graphics/opengl.d(55,51): Error: cannot take address of local `log_size` in `@safe` function `Try_Compile_Shader` source/daque/graphics/opengl.d(55,62): Error: `error_log.ptr` cannot be used in `@safe` code, use `&error_log[0]` instead source/daque/graphics/opengl.d(56,48): Error: `error_log.ptr` cannot be used in `@safe` code, use `&error_log[0]` instead source/daque/graphics/opengl.d(82,55): Error: cannot take address of local `is_linked` in `@safe` function `Try_Link_Program` source/daque/graphics/opengl.d(182,25): Error: cannot take address of local `buffer` in `@safe` function `gen` source/daque/graphics/opengl.d(193,28): Error: cannot take address of parameter `buffer` in `@safe` function `del` source/daque/graphics/opengl.d(244,30): Error: cannot take address of local `name` in `@safe` function `genVertexArray` source/daque/graphics/opengl.d(257,33): Error: cannot take address of parameter `vertexArrayName` in `@safe` function `deleteVertexArray` source/daque/graphics/opengl.d(307,29): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead source/daque/graphics/opengl.d(345,51): Error: `@safe` constructor `this` cannot access `__gshared` data `IMG_Load` source/daque/graphics/opengl.d(472,35): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead source/daque/graphics/opengl.d(460,10): Error: function `daque.graphics.opengl.Texture.updateRegion` label `__returnLabel` is undefined source/daque/graphics/opengl.d(483,26): Error: cannot take address of local `name` in `@safe` function `gen` source/daque/graphics/opengl.d(492,29): Error: cannot take address of parameter `texture` in `@safe` function `del` source/daque/graphics/sdl.d(13,5): Error: `@safe` function `_staticCtor_L11_C1` cannot access `__gshared` data `DerelictSDL2` source/daque/graphics/sdl.d(14,5): Error: `@safe` function `_staticCtor_L11_C1` cannot access `__gshared` data `DerelictSDL2Image` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.